.login-index {
  position: relative;
  width: 100vw;
  min-height: 100vh;
}
.login-bg {
  position: absolute;
  width: 100vw;
  height: 100%;
  position: absolute;
  z-index: 1;
}
.register-wrap {
  background: linear-gradient(180deg, #bed9ff 10%, #fff 80%);

  .login-content {
    padding: 40rpx 40rpx 0 40rpx;
    box-sizing: border-box;
  }
}

.login-content {
  position: relative;
  z-index: 2;
  min-height: 80vh;
  padding: 116rpx 40rpx 0 40rpx;

  .register-head {
    font-size: calc(var(--amplified_base) * 30rpx);

    .register-head__title {
      color: #1a65cf;
      font-size: calc(var(--amplified_base) * 44rpx);
      margin-bottom: 16rpx;
    }
  }

  .head {
    display: flex;
    flex-direction: column;
    align-items: center;

    .logo-text {
      font-size: calc(var(--amplified_base) * 80rpx);
      color: #222;
    }
  }

  :deep(.field-box) {
    margin-top: 20rpx;
    border-bottom: 1rpx solid #d1d1d1;
    padding: 30rpx 0;
    background-color: transparent;
    font-size: calc(var(--amplified_base) * 32rpx);

    .input-placeholder {
      color: #333;
    }

    .field-input {
      color: #000;
    }

    .field-label {
      height: 2em;
      flex: 0;

      .field-label__text {
        width: 100%;
        font-size: calc(var(--amplified_base) * 32rpx);
      }
    }
  }

  .from-wrap {
    margin-top: 200rpx;
    width: 100%;
    // margin-left: 50rpx;
    padding: 6rpx 50rpx;
    border-radius: 44rpx;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.6), rgba(255, 255, 255, 0.6), rgba(255, 255, 255, 0)),
      rgba(255, 255, 255, 0);
    backdrop-filter: blur(6rpx);
  }

  .register__from-wrap {
    background-color: transparent;
    background: transparent;
    margin-top: 60rpx;
  }
  .btn {
    width: 100%;
    height: calc(var(--amplified_base) * 88rpx);
    line-height: calc(var(--amplified_base) * 88rpx);
    font-size: calc(var(--amplified_base) * 30rpx);
    text-align: center;
    margin-top: 20rpx;
    border-radius: 16rpx;
    font-weight: 500;
  }

  .login-btn {
    margin-top: 40rpx;
    background-color: #1677ff;
    color: #fff;
  }

  .register-btn {
    border: 1rpx solid #5a5a5a;
    color: #5a5a5a;
  }
  .code-btn {
    display: table-cell;
    vertical-align: middle;
    background-color: #0081ff;
    line-height: 1;
    padding: 12rpx 18rpx;
    border-radius: 8rpx;
    color: #fff;
  }

  .code-btn__disabled {
    opacity: 0.6;
  }
}

.agreement {
  margin-top: 40rpx;
  padding: 40rpx 0;
  width: 100%;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
  color: #1989fa;
  text-align: center;

  .checked {
    width: 30rpx;
    height: 30rpx;
  }

  .text {
    margin-left: 20rpx;
    color: #2d4d77;
  }

  .agreement-item {
    margin-right: 10rpx;
  }
}
